public class Manger extends Employee {

    public Manger(String name, String address, int id, double wages, int seniority) {
        super(name, address, id, wages, seniority);
    }

    @Override
    public void add() {
        setWages(getWages() * 1.2);
    }
}
